package cn.wolfcode.luowowo.article.domain;

import cn.wolfcode.luowowo.common.domain.BaseDomain;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;

@Setter
@Getter
public class DestinationScreening extends BaseDomain {

    public static final int STATE_NORMAL = 0; //正常
    public static final int STATE_DISABLE = 1; //禁用
    private String name;  //筛选条件名称
    private int state = STATE_NORMAL; //条件状态
    private String coverUrl;        //主题条件图片
    private Long category;       //主题条件类型
    private Destination dest;  //关联的目的地
    public String getStateDisplay(){
        return state == STATE_NORMAL ? "正常" : "禁用";
    }

}
